package cn.ys.search.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class SearchMasterMsgDto {

    @NotBlank(message = "名称不能为空")
    private String name;
    private Double price;
    @NotNull(message = "年龄不能为空")
    private Integer age;
    @NotNull(message = "性别不能为空")
    private Integer gender;
    private String coatColor;
    private String resources;
    private Long petType;
    private String address;
    private String title;
}
